package com.lufei.dh.bottom.Adapter;

import android.content.Context;

import com.chad.library.adapter.base.BaseItemDraggableAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.lufei.dh.R;

import java.util.List;

/**
 * 版权：易金卡沃 版权所有
 * <p>
 * 作者：lufei
 * <p>
 * 创建日期：2018/6/26
 * <p>
 * 描述：
 * <p>
 * 修订历史：
 */
public class Adapter_Drag extends BaseItemDraggableAdapter<String, BaseViewHolder> {
    Context context;

    public Adapter_Drag(List<String> data, Context context) {
        super(R.layout.item_section_content, data);
        this.context = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv, item);
    }
}
